package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.vo.SOrderFeeDetailVo;

import java.math.BigDecimal;

/**
 * @ClassName: SInvoiceRateService
 * @Description: 发票税税率
 * @author: Aaron
 * @date: 2016年10月9日 下午8:27:44
 */
public interface SInvoiceRateService {

    /**
     * @param hasInvoiceFee   时候有发票费 (是否计算发票税费)
     * @param customerOrderId 客户订单主键
     * @param totalCost       总费用
     * @Title: computeInvoiceFee
     * @Description: 计算发票费
     * @return: SOrderFeeDetailVo
     */
    SOrderFeeDetailVo computeInvoiceFee(Boolean hasInvoiceFee, Long customerOrderId, BigDecimal totalCost);

}
